|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.Agent
agents.UIAgent
public class UIAgent
| Field Summary |
|---|
| Fields inherited from class negotiator.Agent |
|---|
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace |
| Constructor Summary | |
|---|---|
UIAgent()
|
|
| Method Summary | |
|---|---|
Action |
chooseAction()
this function is called after ReceiveMessage, with an Offer-action. |
static java.lang.String |
getVersion()
Creates a new instance of UIAgent |
void |
init()
One agent will be kept alive over multiple sessions. |
boolean |
isUIAgent()
Determine if this agent is communicating with the user about nego steps. |
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did |
| Methods inherited from class negotiator.Agent |
|---|
endSession, getAgentID, getName, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUniqueIdentifier, getUtility, internalInit, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleep |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIAgent()
| Method Detail |
|---|
public static java.lang.String getVersion()
public void init()
init in class Agentpublic void ReceiveMessage(Action opponentAction)
Agent
ReceiveMessage in class Agentpublic Action chooseAction()
Agent
chooseAction in class Agentpublic boolean isUIAgent()
Agent
isUIAgent in class Agent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||